<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Pragma" Content="No-cach">
<title>商友企业网站管理系统 V{:VERSION}</title>
<link rel="stylesheet" type="text/css" href="css/login.css" />
<link rel="stylesheet" type="text/css" href="css/iconfont.css" />
</head>
<body>

<div id="wrapper">
  <div id="login" class="animate form">
    <form action="{:$mainlink}?act=loginok" method="post"><!--target="frame_main"-->
      <div class="logo"><img src="images/logo.gif" /></div>
      <div class="login_div">账　号：</div>
      <div class="login_p"><span class="login_ico"><i class="icon-login"></i></span><input class="login_input log_ico1" id="username" name="username" required="required" type="text"></div>
      <div class="login_div">密　码：</div>
      <div class="login_p"><span class="login_ico"><i class="icon-pass"></i></span><input class="login_input log_ico2" id="password" name="password" required="required" type="password"></div>
      
      <!-- if(function_exists("imagecreate") && $isCheckCode)-->
      <div class="login_div">验证码：</div>
      <div class="login_p">
        <span class="login_ico"><i class="icon-code"></i></span>
        <table width="100%"><tr><td><input class="login_input log_ico3" size="4" maxlength="4" name="chk" type="text" style="width:160px;" onkeyup="pressCaptcha(this)" required="required" /></td><td align="right"><span id="updatecode"><img src="{:$mainlink}?act=chkcode" border="0" align="absmiddle"  style="cursor:pointer;" onclick="qgupdatecode()"></span></td></tr></table>
      </div>
      <!-- end -->
      
      <div class="login_sdiv"><input class="login_submit" type="submit" value="登　录" /></div>
    </form>
  </div>
  <p class="change_link">Sy&nbsp;V{:VERSION}</p>
</div>

<script language="JavaScript">
function pressCaptcha(obj)
{
	obj.value = obj.value.toUpperCase();
}
function qgupdatecode()
{
	var rand = Math.random();
	document.getElementById("updatecode").innerHTML = '<img src="{:$mainlink}?act=chkcode&rand=' + rand + '" border="0" align="absmiddle" style="cursor:pointer;" onclick="qgupdatecode()">';
}
</script>

</body>
</html>